/*
 *      main_win.h
 *      
 *      Copyright 2009 AzureSky <AzureSky.fedora@gmail.com>
 *      
 *      This program is free software; you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation; either version 2 of the License, or
 *      (at your option) any later version.
 *      
 *      This program is distributed in the hope that it will be useful,
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *      GNU General Public License for more details.
 *      
 *      You should have received a copy of the GNU General Public License
 *      along with this program; if not, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */

#ifndef _GUI_H_
#define _GUI_H_

#include <gtkmm.h>
#include <string>
#include "main_notebook.h"
#include "icon.h"

class main_win : public Gtk::Window
{
	public:
		main_win(BaseObjectType* cobject, const Glib::RefPtr<Gtk::Builder>& refGlade);
		~main_win();
	
		const Glib::RefPtr<Gtk::Builder>& refXml;

	private:
		void init_gui();
		
		Gtk::Button* base_info;
		Gtk::Button* kernel_info;
		Gtk::Button* net_info;
		Gtk::Button* proc_info;
		Gtk::Button* gconf_info;
		Gtk::Button* about_info;
		Gtk::Image* head_img;
		Gtk::Dialog* warning_dialog;
		//Gtk::Image* my_logo;
		main_notebook* my_notebook;

		void change_page(int);
		
		pid_t pid;
		
};

#endif //_GUI_H_
